##### My (demuredemeanor) newsbeuter config
# Uses tabstop=4; shiftwidth=4 tabs; foldmarker={{{,}}};
# https://notabug.org/demure/dotfiles/
# legacy repo http://github.com/demure/dotfiles
# vim:set syntax=sh:

urls-source "ttrss"

ttrss-url "http://demu.red/ttrss/"
ttrss-mode multi
ttrss-login "demure"
ttrss-password "`pass cli/newsbeuter`"

ttrss-flag-star "s"
ttrss-flag-publish "p"

auto-reload yes
reload-time 30
reload-threads 2
suppress-first-reload yes
notify-beep yes
confirm-exit yes

show-read-feeds no
show-read-articles no
feed-sort-order unreadarticlecount-asc
article-sort-order date-desc

#browser "w3m %u"
browser sensible-browser
player mpv

macro y set browser "mpv %u"; open-in-browser ; set browser sensible-browser
macro i set browser "feh %u"; open ; set browser sensible-browser
macro w set browser "w3m %u"; open-in-browser ; set browser sensible-browser


# Ivaylo Kuzev <ivkuzev@gmail.com>, 2014
# zenburn like color scheme for newsbeuter <http://www.newsbeuter.org/>

color background color188 color237
color info color223 color234
color article color188 color237
color listnormal color188 color237
color listfocus color108 color234
color listnormal_unread color108 color234
color listfocus_unread color234 color108

highlight article "^Feed:.*" color174 default
highlight article "^Title:.*" color223 color108 bold
highlight article "^Author:.*" color114 default
highlight article "^Link:.*" color116 default
highlight article "^Date:.*" color223 default
highlight article "\\[[0-9][0-9]*\\]" color66 default bold
highlight article "\\[image [0-9][0-9]*\\]" color109 default bold
highlight article "\\[embedded flash: [0-9][0-9]*\\]" color66 default bold
